package com.feng.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 系统设置
 * </p>
 *
 * @author feng
 * @since 2023-03-22 23:24:46
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_config")
@ApiModel(value = "Config对象", description = "系统设置")
public class Config {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("系统名称")
    @TableField("site_name")
    private String siteName;

    @ApiModelProperty("前端LOGO")
    @TableField("front_logo")
    private String frontLogo;

    @ApiModelProperty("后台LOGO")
    @TableField("back_logo")
    private String backLogo;

    @ApiModelProperty("版权信息")
    @TableField("copy_right")
    private String copyRight;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("修改人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("数据标识")
    @TableField("data_flag")
    private Integer dataFlag;


}
